package br.com.saeng2D.analiseLxSi;

public class TesteAnalise {
	public static void main(String[] args) throws Exception {
		//ScannerLex analisador = new ScannerLex("H2 + 60 = 0");
		//ScannerLex analisador = new ScannerLex("H3 * 0 + V3 * 0 - (120 * 53) - H1 * 0 = 0");
		//ScannerLex analisador = new ScannerLex("V1 * 0 - 4000 * 40 -( V2 * 80 ) + H2 * 0 = 0");
		//ScannerLex analisador = new ScannerLex("V1 * 0 + 3598.24 * 19 + 4497.80 * 25 + 89 * 110 - (35 * 60) - (H5 * 10) - (V5 * 130) = 0");
		
		
		//System.out.println(analisador.retornaExpressao());
		MatrizCrammer matriz = new MatrizCrammer("V1 * 0 - 35 * 0 - (60 * 0 ) - ( 23 * 60 ) - (80 * 20 ) - ( 45 * 20 ) - ( 35 * 20 ) + H4 * 20 - ( V4 * 120 ) = 0","- 35 + 80 + H4 - 45 - 35 = 0","V1 - 60 + V4 + 23 = 0");
		System.out.println(matriz.retornaValorVariaveis());
	}
}
